package leetcode.simulation;

import leetcode.string.common.StringUtils;

class Solution6 {
    public String convert(String s, int numRows) {
//        return StringUtils.convert(s, numRows);
        return StringUtils.convertPro(s, numRows);
    }
}

public class leetcode6 {
    public static void main(String[] args) {
        Solution6 solution6 = new Solution6();
        System.out.println(solution6.convert("PAYPALISHIRING", 3).equals("PAHNAPLSIIGYIR"));
    }
}
